namespace RestaurantFinder.Core.Models;

/// <summary>
/// 餐厅信息
/// </summary>
/// <param name="Id">餐厅ID</param>
/// <param name="Name">餐厅名称</param>
/// <param name="Address">餐厅地址</param>
/// <param name="Location">地理位置</param>
/// <param name="Distance">距离用户的距离（米）</param>
/// <param name="Rating">餐厅评分</param>
/// <param name="PhoneNumber">联系电话</param>
public record Restaurant(
    string Id,
    string Name,
    string Address,
    Location Location,
    double Distance,
    double? Rating = null,
    string? PhoneNumber = null); 